#ifndef _DIVISION_H_
#define _DIVISION_H_

#include "Room.h"

class Division{
public:
	Division(int lx,int ly, int hx, int hy){
		this->lx = lx;
		this->ly = ly;
		this->hx = hx;
		this->hy = hy;	
		room = make_shared<Room>();
		isSplitedVertical = false;
		isSplitedHorizonal = false;
	}

public:
	int lx, ly, hx, hy;
	shared_ptr<Room> room;
	bool isSplitedVertical;
	bool isSplitedHorizonal;
};

#endif // end of _DIVISION_H_